<template>
  <div class="IndexDefault">
    <h1>内容首页</h1>
    <div>
      <a href="http://172.16.1.105:7070/shangshebao/exportPersonExcel">W3School</a>
    </div>
  </div>

</template>

<script>
export default {
  name: 'IndexDefault',
  methods: {
    submitUpload () {
      let list = document.getElementsByClassName('el-upload-list__item is-ready')
      if (list.length === 0) {
        this.$message({
          type: 'warning',
          message: '请选择需要导入的模板！'
        })
        return
      }
      this.$refs.upload.submit()
    },
    handleRemove (file, fileList) {
      console.log(file, fileList)
    },
    handlePreview (file) {
      console.log(file)
    }
  }
}
</script>
<style scoped>

</style>
